import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  //查询债券发行信息
  queryBondInfo: (query) => api.get(`${config.interfaces.type5}instrument-server/bondissuerinfo/queryBond`, query),
  luckyNumber: (query) => api.post(`${config.interfaces.type1}bondTrade/BondWinning`, query),
};
